package com.springcloud.demo.service;

import com.springcloud.demo.pojo.Order;

/**
 * @Author: XiaoJie Wang
 * @Description:
 * @Date: Create in 9:43 2021/7/16
 */
public interface OrderService {
    /**
     * 根据主键查询订单
     *
     * @param id
     * @return
     */
    Order selectOrderById(Integer id);

    /**
     * 根据id获取订单详情
     * @param id
     * @return
     */
    Order getOrderById(Integer id);
}
